/**
 * File to present using of StlContainers
 */

#include "stlContainers.hpp"

using namespace StlContainersWrappers;

BOOST_PYTHON_MODULE(libStlContainers) {
	/**
	 * Wraps common containers into their Python representatives
	 */
    VectorWrapper<int>::wrap("vector_int");

	VectorWrapper<double>::wrap("vector_double");

	VectorWrapper<std::string>::wrap("vector_string");

	/**
	 * Wraps common converters for C++ and Python collections
	 */

    boost::python::def("py_list_to_vector_int", PyContainersConverters::pyListToVector<int>);
    boost::python::def("py_list_to_vector_double", PyContainersConverters::pyListToVector<double>);
    boost::python::def("py_list_to_vector_string", PyContainersConverters::pyListToVector<std::string>);
}

